package com.hrt.bean;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * ，订单来源 0 前端网站提交，1 后端管理员提交
 * 
 * @author Administrator
 *
 */
public class OrderSources {

	/**
	 * 0 前端网站提交，
	 */
	public static final Integer WEB_SOURCE = 0;

	/**
	 * 1 后端管理员提交
	 */
	public static final Integer MANAGE_SOURCE = 1;

	public List<Map<Integer, String>> orderSources;

	public List<Map<Integer, String>> getOrderSources() {
		if (orderSources == null) {
			orderSources = new ArrayList<Map<Integer, String>>();
			Map<String, Object> map = new HashMap<String, Object>();
			map.put("sta_key", WEB_SOURCE);
			map.put("sta_val", "网站提交");

			Map<String, Object> map1 = new HashMap<String, Object>();
			map1.put("sta_key", MANAGE_SOURCE);
			map1.put("sta_val", "后端管理员提交");
		}
		return orderSources;
	}

	public void setOrderSources(List<Map<Integer, String>> orderSources) {
		this.orderSources = orderSources;
	}

}
